//
//  CarCVCell.m
//  Logistics
//
//  Created by enzhoukeji on 2018/8/12.
//  Copyright © 2018年 puyue.com. All rights reserved.
//

#import "CarCVCell.h"

@implementation CarCVCell

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
        self.carButton = [UIButton buttonWithTitle:@"整车" withImageName:nil withBGColor:nil Withlayer:NO];
        [self.carButton setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
        self.carButton.layer.borderColor = [UIColor grayColor].CGColor;
        self.carButton.layer.borderWidth = 1.0;
        self.carButton.layer.cornerRadius = 5.0;
        self.carButton.backgroundColor = [UIColor clearColor];
        [self addSubview:self.carButton];
        [self.carButton mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.mas_equalTo(self);
        }];
    }
    return self;
}
@end
